/*
 * @Author: wuqingchun
 * @Date: 2024-12-03 19:17:10
 * @Description: 
 * @LastEditors: wuqingchun
 * @LastEditTime: 2024-12-03 19:32:35
 */
#ifndef __BUFFER_H__
#define __BUFFER_H__

#include <cstddef>

template <typename T>
class buffer
{
private:
    T* m_ptr;
    size_t m_size;
    size_t m_capacity;

public:
    buffer(size_t sz) noexcept : m_size(sz), m_capacity(sz) {}
public:
    /** Appends data to the end of the buffer. */
    template <typename U> void append(const U* begin, const U* end);
    
};

#include "buffer.inl"
#endif //__BUFFER_H__
